﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AEJContactBook.Entities;
using System.ServiceModel;
using System.ServiceModel.Web;

namespace AEJContactBook.Services.REST
{
    [ServiceContract]
    public interface IServicePerson
    {
        [OperationContract]
        [WebGet(UriTemplate = "/data/getlist", ResponseFormat = WebMessageFormat.Json)]
        List<Person> GetList();
    }
}